import Vue from 'vue'
import VueRouter from 'vue-router'

import YingYu from '@/views/YingYu/YingYu.vue'
import YuWen from '@/views/YuWen/YuWen.vue'

Vue.use(VueRouter)

const routes = [
  // {
  //   path: '/',
  //   name: 'Home',
  //   component: Home
  // }
  {
    path:'/yingyu',
    name:'YingYu',
    component:YingYu
  },
  {
    path:'/yuwen',
    name:'YuWen',
    component:YuWen
  }
  
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
